package com.bdqn.qnnews.wemedia.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author xlzhang
 * @date 2023/5/29 21:51
 */
@Data
@Schema(name = "WmUserDto 对象", description = "自媒体用户登录成功后响应给其他客户端的数据")
public class WmUserDto {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "app用户id")
    private Long apUserId;

    @Schema(description = "app文章作者id")
    private Long apAuthorId;

    @Schema(description = "登录用户名")
    private String name;

    @Schema(description = "登录密码")
    private String password;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "头像")
    private String image;

    @Schema(description = "归属地")
    private String location;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "状态	0 暂时不可用	1 永久不可用	9 正常可用")
    private Byte status;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "账号类型  0 爬取数据  1 签约合作商  2 平台自媒体人")
    private Byte type;

    @Schema(description = "运营评分")
    private Byte score;

    @Schema(description = "创建时间")
    private LocalDateTime createdTime;
}